import { createRouter, createWebHistory } from 'vue-router'

const router = createRouter({
  history: createWebHistory(),
  routes: [
    //文件传送模块
    {
      path: '/file/dailySalesReport',
      component: () => import('@/views/file/dailySalesReport.vue')
    },
    {
      path: '/file/InvoiceInquireReport',
      component: () => import('@/views/file/InvoiceInquireReport.vue')
    },
    {
      path: '/file/salesSlip',
      component: () => import('@/views/file/salesSlip.vue')
    },
    {
      path: '/file/monthlyPhotoReport',
      component: () => import('@/views/file/monthlyPhotoReport.vue')
    },
    {
      path: '/file/taxInfor',
      component: () => import('@/views/file/taxInfor.vue')
    },
    {
      path: '/file/goodsInspection',
      component: () => import('@/views/file/goodsInspection.vue')
    },
    {
      path: '/file/checkStoreReport',
      component: () => import('@/views/file/checkStoreReport.vue')
    },
    //查询模块
    {
      path: '/query/memberInquiry',
      component: () => import('@/views/query/memberInquiry.vue')
    },
    {
      path: '/query/InventoryQuery-store',
      component: () => import('@/views/query/InventoryQuery-store.vue')
    },
    {
      path: '/query/InventoryQuery-office',
      component: () => import('@/views/query/InventoryQuery-office.vue')
    },
    {
      path: '/query/checkHongKongMember',
      component: () => import('@/views/query/checkHongKongMember.vue')
    },
    {
      path: '/query/checkDomesticMember',
      component: () => import('@/views/query/checkDomesticMember.vue')
    },
    //目标模块
    {
      path: '/goal/personalGoals',
      component: () => import('@/views/goal/personalGoals.vue')
    },
    {
      path: '/goal/storeGoals',
      component: () => import('@/views/goal/storeGoals.vue')
    },
    {
      path: '/goal/storeTargetMain',
      component: () => import('@/views/goal/storeTargetMain.vue')
    },
    {
      path: '/goal/storeTargetExport',
      component: () => import('@/views/goal/storeTargetExport.vue')
    },
    //其他模块
    {
      path: '/WeChatGuests',
      component: () => import('@/views/WeChatGuests.vue')
    },
    {
      path: '/linkHelp',
      component: () => import('@/views/linkHelp.vue')
    },
    {
      path: '/reportExport',
      component: () => import('@/views/reportExport.vue')
    },
    {
      path: '/employeeDisc',
      component: () => import('@/views/employeeDisc.vue')
    },
  ]
})

export default router
